(function($, doc) {
	app.immersion(function () {
		doc.querySelector('#phead').classList.add('immersion');
	});
	$.init({
		preloadPages: [{
			id: 'setting',
			url: 'my/setting.html'
		}]
	});
    window.addEventListener('show', function() {
    }, false);

    var settings = app.getSettings();
    var state = app.getState();

    $.plusReady(function() {
		$('#list2').on('tap', 'li', function () {
			$.openWindow({
				id: 'setting'
			});
		});
    });
}(mui, document));